package com.project.fiveCerealsSavoury.transfer;


import org.hibernate.validator.constraints.NotBlank;

public class UserLogin {
	/**
	 * 用户名
	 */
	@NotBlank(message="用户名不能为空")
	private String name;
	/**
	 * 密码
	 */
	@NotBlank(message="密码不能为空")
	private String passwd;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	@Override
	public String toString() {
		return "UserLogin [name=" + name + ", passwd=" + passwd + "]";
	}

}
